package com.common.base;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

@Data
public class BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private String id;
	/** 创建人 */
	private String createUser;
	/** 创建日期 */
	private Date createDate;
	/** 修改人 */
	private String updateUser;
	/** 修改日期 */
	private Date updateDate;
	/** 删除标识(0:正常；1：删除)默认正常 */
//	private String delFlag = Globals.USER_TYPE_NORMAL;
	/** 创建人名称 */
	private String createUserName;
	/** 修改人名称 */
	private String updateUserName;
	
	public BaseEntity() {}
	public BaseEntity(String id, String createUser, Date createDate, String updateUser, Date updateDate,
			String createUserName, String updateUserName) {
		super();
		this.id = id;
		this.createUser = createUser;
		this.createDate = createDate;
		this.updateUser = updateUser;
		this.updateDate = updateDate;
//		this.delFlag = delFlag;
		this.createUserName = createUserName;
		this.updateUserName = updateUserName;
	}
	
}
